package cn.xdmnb.cloud.blog.core.constant;

/**
 * @author yukai
 * @since 2023年01月05日 15:48
 */
public interface KeyConstant {

    String REDIS_KEY_PREFIX = "yu_blog:";

    String UV = REDIS_KEY_PREFIX + "uv:";

    String UV_TOTAL = UV + "total";

    String ARTICLE_V = REDIS_KEY_PREFIX + "article:";

    String ARTICLE_MESSAGE_KEY = ARTICLE_V + ":msg";

    String AVOID_REPEATABLE_COMMIT = REDIS_KEY_PREFIX + "avoid_repeatable_commit";

}
